package com.dabbo.starship.block;

import java.rmi.RemoteException;

import com.dabbo.starship.cell.CellDefault;
import com.dabbo.starship.cell.CellPower;
import com.dabbo.starship.interfaces.Block;
import com.dabbo.starship.interfaces.Container;

public class BlockReactor extends BlockDefault {

	private static final long serialVersionUID = 802671978746588203L;

	// XXXXXXXXX
	// XX     XX
	// X  P P  X
	// X       X
	// X   P   X
	// X       X
	// X  P  P X
	// XX     XX
	// XXXXXXXXX	
	
	public BlockReactor(Container parent) throws RemoteException {
		super(parent);
		this.blockType = Block.BLOCK_REACTOR;
		this.description = "Reactor";
		this.grid[3][3] = new CellPower(this);
		this.grid[3][5] = new CellPower(this);
		this.grid[5][3] = new CellPower(this);
		this.grid[5][5] = new CellPower(this);
		this.grid[4][3] = new CellDefault(this);
		this.grid[4][4] = new CellDefault(this);
		this.grid[4][5] = new CellDefault(this);
		this.grid[3][2] = new CellDefault(this);
		this.grid[3][6] = new CellDefault(this);
		this.grid[5][2] = new CellDefault(this);
		this.grid[5][6] = new CellDefault(this);
	}
	
}
